#ifndef MYSUBWIDGET_H
#define MYSUBWIDGET_H

#include <QWidget>
#include<QPushButton>

class MySubWidget : public QWidget
{
    Q_OBJECT
public:
    explicit MySubWidget(QWidget *parent = nullptr);

signals:
    void openParentWindow();

private:

    QPushButton btn;

};

#endif // MYSUBWIDGET_H
